import {
    createRouter, createWebHistory,
} from "vue-router";

const router = createRouter({
    history: createWebHistory(),
    routes:[
        {
            path:'/',
            component: () => import('../components/view_page/Login.vue'),
        },
        {
            path:'/chat',
            component: () => import('../components/view_page/Chat.vue'),
        },
        {
            path:'/register',
            component: () => import('../components/view_page/Register.vue'),
        },
        {
            path:'/index',
            component: () => import('../components/view_page/Index.vue'),
        },
        {
            path:'/Test',
            component: () => import('../components/view_page/Test.vue'),
        },
    ],
})

export default router